﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCPets.Models.PetsModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete Pet Profile
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Delete Pet Profile</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Age</div>
        <div class="display-field"><%= Model.Age %></div>
        
        <div class="display-label">Breed</div>
        <div class="display-field"><%= Model.Breed %></div>
        
        <div class="display-label">Color</div>
        <div class="display-field"><%= Model.Color %></div>
        
        <div class="display-label">Gender</div>
        <div class="display-field"><%= Model.Gender %></div>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%= Model.Name %></div>                
        
        <div class="display-label">Fee</div>
        <div class="display-field"><%= Model.Fee.ToString("$#,###") %></div>
        
        <div class="display-label">Listed</div>
        <div class="display-field"><%= String.Format("{0:g}", Model.Listed) %></div>
        
        <div class="display-label">Edited</div>
        <div class="display-field"><%= String.Format("{0:g}", Model.Edited) %></div>       
        
        <div class="display-label">StatusName</div>
        <div class="display-field"><%= Model.StatusName %></div>
        
        <div class="display-label">Description</div>
        <div class="display-field"><%= Model.Description %></div>
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%= Html.ActionLink("[Back to List]", "Index", "Pets") %>
        </p>
    <% } %>
</asp:Content>